package grisar.gris.struct.ground;

import grisar.gris.struct.I_Drawable;
import grisar.gris.struct.I_GameObject;
import grisar.gris.struct.bound.BoundCircle;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.Color;
import android.graphics.Paint;
import android.graphics.Point;

public class Ground implements I_Ground{

	private Bitmap bitmap;
	private Point pos;
	private Paint paint = new Paint();
	
	public Ground(Point pos, Bitmap bitmap){
		
		this.pos=pos;
		paint.setColor(Color.CYAN);
		this.bitmap = bitmap;
		
	}

	//@Override
	public void draw(Canvas canvas) {
	
		canvas.drawBitmap(bitmap, pos.x, pos.y, paint);
	}

	//@Override
	public Point getPosition() {
		return pos;
	}

	//@Override
	public void setPosition(Point pos) {
		this.pos=pos;
		
	}
}
